cmake_minimum_required(VERSION 3.15)
project(calculate)

#指定头文件目录
include_directories(${INCLUDE_PATH})
#指定库生成目录
set(LIBRARY_OUTPUT_PATH ${LIB_PATH})

#设置依赖
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} SRC_LIST)
#生成库文件
add_library(${CALCULATE} SHARED ${SRC_LIST})